def print_line(char,times):
    print(char*times)

def print_num(num1,num2):
    print(num1*num2)

def print_2list(x,y):

    print([[i*j for i in range(x)] for j in range(y)])




if __name__ =='__main__':

    print_2list(5,7)
    print_num(3,4)
    print_line('$',50)